package com.acegear.horizon.domain.events;

/**
 * Created by guoweike on 17/1/24.
 */
//活动阶段创建
public class ActivityStageCreateEvent extends BaseEvent {

  private Long activityId;

  private Long activityStageId;

  private String name;

  public ActivityStageCreateEvent(Long activityId, Long activityStageId, String name) {
    this.activityId = activityId;
    this.activityStageId = activityStageId;
    this.name = name;
    genEventId();
  }


  public ActivityStageCreateEvent() {
  }

  public Long getActivityId() {
    return activityId;
  }

  public void setActivityId(Long activityId) {
    this.activityId = activityId;
  }

  public Long getActivityStageId() {
    return activityStageId;
  }

  public void setActivityStageId(Long activityStageId) {
    this.activityStageId = activityStageId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.activity.stage.new";
  }
}
